package com.kabuda.service;

import com.kabuda.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author kabuda
* @description 针对表【user】的数据库操作Service
* @createDate 2023-10-17 21:02:37
*/
public interface UserService extends IService<User> {

    Map<String, Object> login(User user);

    User findUser(String account, String passwordMD5);

    void logout(String token);


    User curUserInfo(String token);
}
